
#!/bin/sh

len=10


if [ $# -ne 1 ];then
	echo "Usage: $0 file.md"
fi

awk -F， '{
	if (NF == 1 ) { 
		if (length($1) < 30) {
			print "## " $1
		} else {
		}

	} else {
	}

}' $1 > $1.title

sed '/[，!。!&’：、「」（《│──┼┬]/d'  $1.title  >list-.md

